package com.secsbrain.development.biz.model;

import java.io.Serializable;

public class BranchParam implements Serializable {
    
    private static final long serialVersionUID = -465416381367097283L;

    /**分支类型ID*/
    private Long branchTypeId;
    
    /**工程ID*/
    private Long projectId;
    
    /**指定日期*/
    private String targetDate;
    
    /**来源分支名称*/
    private String sourceBranch;
    
    /**用户名*/
    private String userName;
    
    /**分支名称(可选)*/
    private String branchName;

    /**
     * @return the branchTypeId
     */
    public Long getBranchTypeId() {
        return branchTypeId;
    }

    /**
     * @param branchTypeId the branchTypeId to set
     */
    public void setBranchTypeId(Long branchTypeId) {
        this.branchTypeId = branchTypeId;
    }

    /**
     * @return the projectId
     */
    public Long getProjectId() {
        return projectId;
    }

    /**
     * @param projectId the projectId to set
     */
    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    /**
     * @return the targetDate
     */
    public String getTargetDate() {
        return targetDate;
    }

    /**
     * @param targetDate the targetDate to set
     */
    public void setTargetDate(String targetDate) {
        this.targetDate = targetDate;
    }

    /**
     * @return the sourceBranch
     */
    public String getSourceBranch() {
        return sourceBranch;
    }

    /**
     * @param sourceBranch the sourceBranch to set
     */
    public void setSourceBranch(String sourceBranch) {
        this.sourceBranch = sourceBranch;
    }

    /**
     * @return the userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName the userName to set
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    @Override
    public String toString() {
        return "BranchParam [branchTypeId=" + branchTypeId + ", projectId=" + projectId + ", targetDate=" + targetDate
                + ", sourceBranch=" + sourceBranch + ", userName=" + userName + ", branchName=" + branchName + "]";
    }
    
}
